﻿#pragma once

#include "../../MirControls/MirImageControl.h"
#include "../../MirControls/MirButton.h"
#include "../../MirControls/MirLabel.h"
#include <string>

using namespace Client::MirControls;
using namespace Client::MirGraphics;
using namespace Client::MirNetwork;
using namespace Client::MirSounds;
namespace C = ClientPackets;

namespace Client::MirScenes::Dialogs
{
    class RelationshipDialog final : public MirImageControl
    {
    public:
        MirImageControl *TitleLabel;
        MirButton *CloseButton, *AllowButton, *RequestButton, *DivorceButton, *MailButton, *WhisperButton;
        MirLabel *LoverNameLabel, *LoverDateLabel, *LoverOnlineLabel, *LoverLengthLabel;


        std::string LoverName = "";
        DateTime Date;
        std::string MapName = "";
        short MarriedDays = 0;


        virtual ~RelationshipDialog()
        {
            delete TitleLabel;
            delete CloseButton;
            delete AllowButton;
            delete RequestButton;
            delete DivorceButton;
            delete MailButton;
            delete WhisperButton;
            delete LoverNameLabel;
            delete LoverDateLabel;
            delete LoverOnlineLabel;
            delete LoverLengthLabel;
        }

        RelationshipDialog();

        void UpdateInterface();
    };
}
